<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@page import="com.bluesky.dreamer.entity.LoginMessage"%>
<%
String path = request.getContextPath();
LoginMessage login=(LoginMessage)request.getSession().getAttribute("loginsession");
%>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<link href="../../nresources/default/css/portalet.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="<%=path %>/common/page/js/jquery.js"></script>
</head>
<body>
<!-- 表单 Start -->
<DIV id="Operation_Table">
	<div class="title">
		<div class="titleleft">我的客户-详情</div>
		<!-- 表单title -->
	</div>
	<!-- 表单title -->
	<!-- 表单内容 Start-->
	<div id="Info_table">
		<form action="cust!update.do" name="custform" id="custformId" method="post">
			<table border="0" cellpadding="0" cellspacing="0" width="100%">
				<tr>
					<th>网点名称:</th>
					<td>
					  ${model.websideName}
	               </td>
	               <th>ID号:</th>
					<td>
					  ${model.websideId}
	               </td>
				</tr>
				<tr>
					<th>关键人:</th>
					<td>
					  ${model.keyname}
	               </td>
	               <th>关键人角色:</th>
					<td>
					  ${model.keyrole}
	               </td>
				</tr>
				<tr>
					<th>渠道属性:</th>
					<td>
					  ${model.channelattr}
	               </td>
	               <th>地址:</th>
					<td>
					  ${model.address}
	               </td>
				</tr>
				<tr>
					<th>区域:</th>
					<td>
					 ${model.area}
	               </td>
	               <th>电话:</th>
					<td>
					  ${model.phone}
	               </td>
				</tr>
				<tr>
					<th>网点经营规模:</th>
					<td>
					  ${model.websidesize}
	               </td>
	               <th>经营时间:</th>
					<td>
					${model.dealDate}
	               </td>
				</tr>
				<tr>
					<th>网点店面大小:</th>
					<td>
					  ${model.websidearea}
	               </td>
	               <th>网点门头尺寸(长*高):</th>
					<td>
					 ${model.websidedoorsize}
	               </td>
				</tr>
				<tr>
					<th>背贴内容:</th>
					<td>
					 ${model.backcontent}
	               </td>
	               <th>店面租金:</th>
					<td>
					  ${model.websiderant}
	               </td>
				</tr>
				<tr>
					<th>经营项目包括:</th>
					<td id="itemlistId">
					<input type="hidden" name="dealItem" value="${model.dealItems}" id="dealItemId">
					  卡类<input type="checkbox" name="dealItem" width="70%">
					  手机<input type="checkbox" name="dealItem" width="70%">
	               </td>
	               <th>关键人概况描述:</th>
					<td>
					  ${model.keydesc}
	               </td>
				</tr>
				<tr>
					<th>上月卡类总体销量:</th>
					<td>
					  移动:${model.monthDealMobile}
	               </td>
	               <td colspan="2">
					  联通:${model.monthDealUnicom}
	               </td>
				</tr>
				<tr>
					<th>上月底库存量:</th>
					<td>
					  移动:${model.monthStockMobile}
	               </td>
	               <td>
					  联通:${model.monthStockUnicom}
	               </td>
	               <td>
					  3G:${model.monthStock3g}
	               </td>
				</tr>
				<tr>
					<th>网点本月重要事件跟踪：</th>
					<td colspan="3">${model.websideImportment}</td>
	            </tr>
				<tr>
					<th>备注：</th>
					<td colspan="3">${model.remark}</td>
	            </tr>
			</table>
		</form>
	</div>
	<TABLE width="100%" border="0" cellpadding="0" cellspacing="0">
		<!-- 按扭背景 start -->
		<tr>
		  <td width="30" align="center" id="footer">
		  	<input name="confirmButton" id="confirmButton" type="button" class="buttonStyle" value="返回" onclick="window.location.href='mycust.jsp'">
		  </td>
		</tr>
		<!-- 按扭背景 end -->
	</table>
	<!-- 表单内容 End -->
</DIV>
<script type="text/javascript">
	var dealItem=$("#dealItemId").attr("value");
	$.ajax({    
		type: "POST",  
		cache:false,
		url: 'cust!itemInit.do',      //提交到一般处理程序请求数据  
		data: "selectedItems="+dealItem,
		data:"",
		success: function(data) {                                   
			$("#itemlistId").empty();        //移除Id为Result的表格里的行，从第二行开始（这里根据页面布局不同页变）  
			$("#itemlistId").append(data);
		}
	});
</script>
</body>
</html>
